From: Carlos Garnacho Date: Tue, 3 May 2016 11:22:53 +0000 (+0200) Subject: windowManager: Update API call X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~657 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7e5274619aa2a3edf0a48ba9ae6e1a92edfbc5f4;p=gnome-shell.git windowManager: Update API call This function has now a more generic name, so it caters for both swipe and pinch touchpad gestures. https://bugzilla.gnome.org/show_bug.cgi?id=765937 --- diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 3fb59ec90..fc34aab60 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -511,7 +511,7 @@ const TouchpadWorkspaceSwitchAction = new Lang.Class({ if (event.type() != Clutter.EventType.TOUCHPAD_SWIPE) return Clutter.EVENT_PROPAGATE; - if (event.get_gesture_swipe_finger_count() != 4) + if (event.get_touchpad_gesture_finger_count() != 4) return Clutter.EVENT_PROPAGATE; if (event.get_gesture_phase() == Clutter.TouchpadGesturePhase.UPDATE) {